import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'index/job',
    data: info,
    method: 'post'
  })
}

export const createOrder = info => {
  return axios.request({
    url: 'order/createOrder',
    data: info,
    method: 'post'
  })
}

export const getDetail = info => {
  return axios.request({
    url: 'order/detail',
    data: info,
    method: 'post'
  })
}

export const getUserData = info => {
  return axios.request({
    url: 'user/getList',
    data: info,
    method: 'post'
  })
}
